File System


Q1.

In a particular Unix OS, each data block is of size 1024 bytes, each node has 10 direct data block addresses and three additional addresses: one for single indirect block, one for double indirect block and one for triple indirect block. Also, each block can contain addresses for 128 blocks. Which one of the following is approximately the maximum size of a file in the file system?
GateOverflow

Q2.

A FAT (file allocation table) based file system is being used and the total overhead of each entry in the FAT is 4 bytes in size. Given a 100x10^{6} bytes disk on which the file system is stored and data block size is 10^{3} bytes, the maximum size of a file that can be stored on this disk in units of 10^{6} bytes is _______.
GateOverflow

Q3.

Which of the following requires a device driver ?
GateOverflow

Q4.

Using a larger block size in a fixed block size file system leads to
GateOverflow

Q5.

A unix-style I-node has 10 direct pointers and one single, one double and one triple indirect pointers. Disk block size is 1 Kbyte, disk block address is 32 bits, and 48-bit integers are used. What is the maximum possible file size?
GateOverflow

Q6.

I/O redirection
GateOverflow

Q7.

The index node (inode) of a Unix-like file system has 12 direct, one single-indirect and one double-indirect pointer The disk block size is 4 kB and the disk block addresses 32-bits long. The maximum possible file size is (rounded off to 1 decimal place) __________ GB.
GateOverflow

Q8.

The root directory of a disk should be placed
GateOverflow

Q9.

A file system with 300 GByte disk uses a file descriptor with 8 direct block addresses, 1 indirect block address and 1 doubly indirect block address. The size of each disk block is 128 Bytes and the size of each disk block address is 8 Bytes. The maximum possible file size in this file system is
GateOverflow

Q10.

The data blocks of a very large file in the Unix file system are allocated using
GateOverflow